<%@ page language="java" isErrorPage="true"%>
<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<html>
<head>
<title>错误</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>

	<p align="center">
		<br>
		<img style="border: 0" src="${ctx}/images/error.png" />
	</p>
	<p align=center>很抱歉，您所访问的页面出现了问题！请稍后再试... ...</p>
	<p align="center">
		<textarea name="textarea" cols="130" rows="15"
			style="visibility: hidden">
 <% 
    java.io.StringWriter sw = new  java.io.StringWriter();
    java.io.PrintWriter pw = new java.io.PrintWriter(sw);
 
 if (exception != null) { %>
    <%
   
    exception.printStackTrace(pw); 
    %>
 <% } else if ((Exception)request.getAttribute("javax.servlet.error.exception") != null) { 
    Exception ex=((Exception)request.getAttribute("javax.servlet.error.exception"));
    ex.printStackTrace(pw); 
    %>
 <% } %>
 <%=sw.toString()%>
   </textarea>
		<br> <br>

	</p>

</body>
</html>